package com.wzcl.app.service;

import com.wzcl.app.dao.model.AppUser;
import com.wzcl.app.dao.model.Channel;
import com.wzcl.app.service.common.model.body.ChannelAuthSettingBody;
import com.wzcl.app.service.common.model.body.ChannelBasicSettingBody;

public interface ChannelService{

    Channel takeAvailable(ChannelBasicSettingBody basicBody, ChannelAuthSettingBody authBody);

    void putAvailableByChannelId(Integer channelId);

    void updateAvailablePassword(Integer channelId, String password);

    void setChannelMaxViewer(Integer channelId, Integer maxViewer);

    String getChannelInfo(Integer channelId);

    Channel getChannelByChannelId(Integer channelId);

    String getWatchUrl(Integer channelId, AppUser user);
}
